﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#include "GcmpGeometryInterface.h"
#include "IContourGenerate.h"

namespace gcmp
{
    class GCMP_GEOMETRY_INTERFACE_EXPORT AlgorithmContourGenerate
    {
    public:
        /// \brief 静态轮廓线生成
        /// \param pBody[in]          体
        /// \param pSegmentInfo[in]   静态轮廓线曲面分割份数信息
        /// \param contours[out]      计算体对应的静态轮廓线
        static bool CreateStaticContours(
            const IBody* pBody,
            const IStaticContoursSegmentInfo* pSegmentInfo,
            std::vector<OwnerPtr<ICurve3d>>& contours);
    };
}
